//引入mock模块
import Mock from "mockjs";
const data = Mock.mock({
  "string|4": "test", //生成4次
})
console.log(data);
const menuList = Mock.mock({
  "list|10-20": [
    {
      id: "@word(10)", 
      name: "@cname",
      address: "@city(true)", 
    },
  ],
})

Mock.mock("/api/get/user",'get',{
  status: 200,
  message: '获取用户信息数据成功',
  menuList : menuList
})


